package com.diamond.controller;

import com.diamond.service.KettleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/kettle")
public class TestController {
    @Autowired
    private KettleService kettleService;
    @PostMapping("/testKtr")
    public void testKtr(){
//        kettleService.runKtr("test1.ktr",null);
        kettleService.runKjb("test1.kjb",null);
    }
}
